SiteGround_Optimizer\File_Cacher\File_Cacher C

Total Complexity 119
Dependencies 11
Dependents 12
Total lines 1,081
Lines of code 493
Logical lines of code 262
Comment lines 384
Methods 33
Properties 10

Methods 33

Method Rating Maintainability Complexity Lines of code
is_url_excluded()
A
54 13 21
process()
A
48 11 35
preheat_cache()
A
48 9 34
purge_cache_request()
A
50 8 29
maybe_purge_cache()
S
53 7 22
toggle_file_cache()
S
48 4 36
get_excluded_urls_regex()
S
49 4 32
load_xml()
S
58 5 17
purge_dir_cache()
S
58 5 16
get_cache_path()
S
58 5 15
toggle_cache_constant()
S
55 4 19
schedule_cleanup()
S
59 4 15
clean_cache_dir()
S
61 4 13
maybe_enable_dynamic()
S
65 4 11
create_config()
S
54 3 20
add_htaccess_file()
S
62 3 13
add_advanced_cache()
S
61 3 13
get_intervals()
S
51 1 32
hit_url_cache()
S
61 2 13
get_directory_size()
S
63 2 12
get_cache_dir()
S
64 2 10
remove_advanced_cache()
S
71 2 6
remove_config()
S
68 2 7
get_instance()
S
71 2 6
create_secret_if_not_exists()
S
69 2 7
purge_everything()
S
75 1 5
refresh_config()
S
78 1 4
cleanup()
S
71 1 6
get_secret()
S
79 1 3
sg_add_cron_interval()
S
68 1 7
set_secret()
S
79 1 3
cache_exists()
S
80 1 3
__construct()
S
66 1 8